import os
import sys
import time

import pytest
object_path = os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))))
sys.path.append(object_path)
from commons.yaml_util import write_yaml, read_yaml, clear_yaml

if __name__ == '__main__':

    pytest.main()
    time.sleep(3)
    write_yaml("zhangheng")
    os.system("allure generate ./temps -o ./report --clean")
    # clear_yaml()
    # print(read_yaml())